﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Vbyte.SharpOrm.SqlDb
{
    /// <summary>
    /// 实现SQL约束表达式语句构建
    /// </summary>
    public interface ISqlConstraintExpBuild
    {
        /// <summary>
        /// 获取SQL约束的表达式语句
        /// </summary>
        /// <param name="dbOwner">数据库所有者占位前缀</param>
        /// <param name="tableName">数据库表名</param>
        /// <param name="columnName">涉及到的列名</param>
        /// <returns>SQL约束表达式的中间语句</returns>
        string GetExpression(string dbOwner, string tableName, string columnName);
    }
}
